﻿<table>
<%loop (TopicInfo) topic topiclist%>
			<tbody>
				<tr>
					<td class="subject">
							<%set {aspxrewriteurl} = this.ShowTopicAspxRewrite({topic.tid},0)%>
							<%set (int){ishtmltitle} = Topics.GetMagicValue(topic.Magic, MagicType.HtmlTitle)%>
							<%if {ishtmltitle}==1%>
								<a href="{forumpath}{aspxrewriteurl}<%if {config.Aspxrewrite}!=1%><%/if%>">{Topics.GetHtmlTitle(topic.Tid)}</a>
							<%else%>
								<a onclick="atarget(this)" href="{forumpath}{aspxrewriteurl}<%if {config.Aspxrewrite}!=1%><%/if%>">{topic.title}</a>
							<%/if%>


					</td>
					<td class="num"><em>{topic.views}</em></td>
					<td class="by">
						<%set (string){tpdtime} = ForumUtils.ConvertDateTime({topic.postdatetime})%>
						<em>{tpdtime}</em>
					</td>


				</tr>

			</tbody>
			<%/loop%>
			</table>